package cn.lsq.org.mapper;

import cn.lsq.org.domain.Department;
import cn.lsq.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {
    List<Department> loadAll();
    Department loadById(Long id);
    void save(Department department);
    void remove(Long id);
    void update(Department department);
    Long queryCount(DepartmentQuery departmentQuery);
    List<Department> queryData(DepartmentQuery departmentQuery);
    void patchDelete(Long[] ids);
}
